package com.googlecode.mysqlcommenter.model;

public abstract class AbstractDbItem {
   private String name,comment;

   public AbstractDbItem(String name){
      this.name = name;
   }

   public abstract Db getDb();

   public String getName() {
      return name;
   }

   public void setName(String name) {
      this.name = name;
   }

   public String getComment() {
      return comment;
   }

   public void setComment(String comment) {
      this.comment = comment;
   }

   @Override
   public String toString() {
      return name;
   }

   public String getDescription() {
      return toString();
   }


}
